package com.aube.interact.fighter.model;

import java.io.Serializable;
import java.util.LinkedHashMap;

/**
 * Created by huyaonan on 16/11/22.
 */
public class GameConfig implements Serializable {

    public String beginGetFragmentTipOfInfo;
    public String guidePic;
    public String fragmentMaxNum;
    public String normalFragmentPic;
    public String prizeFragmentPic;
    public String prizeBoxPic;
    public String prizeBgPic;
    public String prizeExplosionPic;
    public String prizeTip;
    public String prizeNameOfMerchant;
    public String prizeNameOfAPP;
    public String prizeDescOfAPP;
    public String successGetFragmentTipOfInfo;
    public String failedGetFragmentTipOfInfo;
    public String loadingbarColor1;
    public String loadingbarColor2;
    public String loadingBorderColor1;
    public String loadingBorderColor2;

    public int getFragmentMax() {
        try {
            return Integer.parseInt(fragmentMaxNum);
        } catch (Exception e) {
            e.printStackTrace();
            return 0;
        }
    }

}
